package com.sc.nft.dao;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.sc.nft.entity.AdminOperationLog;
import com.sc.nft.entity.vo.AdminOperationLogVO;
import com.sc.nft.mapper.AdminOperationLogMapper;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Repository;

import java.util.Date;

/**
 * 请求日志(pro_operation_log)数据DAO
 *
 * @author zhangxiangyu
 * @description
 * @since 2022-02-02 17:11:20
 */
@Slf4j
@Repository
public class AdminOperationLogDao extends ServiceImpl<AdminOperationLogMapper, AdminOperationLog> {

    public Page<AdminOperationLogVO> operationLogList(int pageNo, int pageSize, String sysMemberName, Date startDate, Date endDate) {
        return baseMapper.operationLogList(new Page(pageNo, pageSize), sysMemberName, startDate, endDate);
    }

}